﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace CSCSN.ViewModels.TakeAndTakeType
{
    public class TaskViewModel
    {
        public Guid id { get; set; }


        [Display(Name = "当前活动")]
        public string Name { get; set; }
        [Display(Name = "任务地点")]
        public string TaskSite { get; set; }//任务地点
        [Display(Name = "分值")]
        public string Score { get; set; }//分值
        [Display(Name = "开始时间")]
        public DateTime BeginTime { get; set; }//开始时间
        [Display(Name = "时长")]
        public string Duration { get; set; }//持续时间
        [Display(Name = "任务发起人")]
        public string Issuer { get; set; }//任务发起人

        public TaskViewModel()
        {
            this.id = Guid.NewGuid();
        }

    }
}
